@import "./../../../style/font.scss";
@import "./../../../style/color.scss";
@import "./../../../style/onepx.scss";

.interactive-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  .interactive-content-wrap {
    flex-grow: 1;
    overflow: auto;
    padding: 20px 0 100px;

    .top-wrap {
      @include onepx($normal-border-color, vertical);
      text-align: center;
      padding: 40px 0;
      background-color: #FFFFFF;
      margin-bottom: 20px;

      >img {
        width: 120px;
        height: 120px;
      }

      .label {
        font-family: $regular-font-family;
        @include font-dpr(24px);
        color: $assist-text-color;
        letter-spacing: 0;
        padding-top: 10px;
      }
    }

    .middle-wrap {
      @include onepx($normal-border-color, vertical);
      background-color: #FFFFFF;
      margin-bottom: 20px;
      padding: 0 20px;

      .middle-title {
        @include onepx($normal-border-color, bottom);
        padding: 29px 10px;
        font-family: $regular-font-family;
        @include font-dpr(30px);
        color: $mine-content-color;
        letter-spacing: 0;
      }

      .middle-content-wrap {
        padding: 8px 10px 9px;

        .dynamic-row {
          padding: 20px 0;

          >span {
            display: inline-block;
            box-sizing: border-box;
            font-family: $regular-font-family;
            font-size: 30px;
            @include font-dpr(30px);
            letter-spacing: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }

          .name,label {
            color: $large-title-color;
          }

          .name{
            width: 25%;
            padding-right: 10px;
          }

          .label {
            width: 55%;
            padding-right: 10px;
          }

          .time {
            color: $tips-text-color;
            width: 20%;
          }

        }
      }

    }

    .bottom-wrap {
      @include onepx($normal-border-color, vertical);
      background-color: #FFFFFF;
      margin-bottom: 20px;
      padding: 0 20px;

      .bottom-title {
        padding: 29px 10px;
        font-family: $regular-font-family;
        @include font-dpr(30px);
        color: $mine-content-color;
        letter-spacing: 0;
        line-height: 30px;
      }

      .head-wrap {
        padding: 19px 10px 15px;
        @include onepx($normal-border-color, vertical);

        >span{
          font-family: $regular-font-family;
          @include font-dpr(30px);
          color: $large-title-color;
          letter-spacing: 0;
        }
      }

      .info-row {
        padding: 20px 0;

        >span {
          font-family: $regular-font-family;
          font-size: 30px;
          @include font-dpr(30px);
          letter-spacing: 0;
        }

        .label {
          color: $mine-content-color;
        }

        .time {
          color: $tips-text-color;
        }
      }

      .head-wrap,
      .info-row{

        >span {
          display: inline-block;
          box-sizing: border-box;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;

          &:not(last-child) {
            padding-right: 10px;
          }
        }
        .label {
          width: 50%;
        }

        .long-label {
          width: 70%;
        }

        .status {
          width: 20%;
        }

        .time {
          width: 30%;
        }

        .score {
          width: 25%;
        }

        .score-name {
          width: 50%;
        }
      }

    }


  }
}

.interactive-detail-page {
  padding: 0 20px;
  background-color: #FFFFFF;
  height:100%;

  .header-wrap {
    @include onepx($normal-border-color, bottom);
    padding: 29px 10px;
    font-family: $regular-font-family;
    @include font-dpr(30px);
    color: $mine-content-color;
    letter-spacing: 0;
  }

  .content-wrap {

    .content-row {
      display: flex;
      flex-direction: row;
      font-family: $regular-font-family;
      @include font-dpr(30px);
      color: $title-text-color;
      letter-spacing: 0;
      padding: 20px 10px;

      >div {
        &:first-child {
          white-space: nowrap;
        }
      }
    }
  }

  .media-wrap {
    background-color: #000000;
    margin-top: 40px;

    .video {
      width: 100%;
      height: 400px;
    }

    .audio {
      width: 100%;
      height: 60px;
    }

  }

}


.speak-detail-page {
  height: 100%;

  .speak-content-wrap {

    .media-wrap {
      background-color: #000000;

      .video {
        width: 100%;
        height: 400px;
      }

      .audio {
        width: 100%;
        height: 60px;
      }

    }

    .content-wrap {
      font-family: $regular-font-family;
      @include font-dpr(30px);
      color: $large-title-color;
      letter-spacing: 0;
      padding-top: 20px;
    }

  }
}
